<?php
include('../includes/common.php');
if ($islogin != 1) {
	exit('<script language=\'javascript\'>window.location.href=\'./login.php\';</script>');
}
?>
<?php
$title = '系统后台';
include('head.php');
?>


<body>
	<div class="main-layout" id='main-layout'>
		<div class="main-layout-side">
			<div class="m-logo">
			</div>
			<ul class="layui-nav layui-nav-tree" lay-filter="leftNav">
				<li class="layui-nav-item">
					<a href="javascript:;" data-url="userlist.php" data-id='1' data-text="用户管理"><i class="iconfont iconpingtaiguanliyonghuguanli"></i>用户管理</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;"><i class="iconfont iconlianjie"></i>宿舍管理</a>
					<dl class="layui-nav-child">
						<dd><a href="javascript:;" data-url="dormlist.php" data-id='2' data-text="宿舍列表"><span class="l-line"></span>宿舍列表</a></dd>
						
					</dl>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;" data-url="moneylist.php" data-id='4' data-text="记录日志"><i class="iconfont iconyulan"></i>记录日志</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;" data-url="loglist.php" data-id='6' data-text="登录日志"><i class="iconfont iconyulan"></i>登录日志</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;"><i class="iconfont iconlianjie"></i>系统设置</a>
					<dl class="layui-nav-child">
						<dd><a href="javascript:;" data-url="set.php" data-id='5' data-text="网站信息配置"><span class="l-line"></span>信息设置</a></dd>
						<dd><a href="javascript:;" data-url="set2.php?mod=set_logo" data-id='7' data-text="网站logo设置"><span class="l-line"></span>Logo设置</a></dd>
						<dd><a href="javascript:;" data-url="set2.php?mod=defend" data-id='8' data-text="CC防护设置"><span class="l-line"></span>防护设置</a></dd>
					</dl>
				</li>
			</ul>
		</div>
		<div class="main-layout-container">
			<div class="main-layout-header">
				<div class="menu-btn" id="hideBtn">
					<a href="javascript:;">
						<span class="iconfont">&#xe677;</span>
					</a>
				</div>
				<ul class="layui-nav" lay-filter="rightNav">
					<li class="layui-nav-item"><a href="../" title="前台首页"><i class="iconfont icon1"></i></a></li>
					<li class="layui-nav-item">
						<a href="javascript:;" data-url="set.php?mod=account" data-id='6' data-text="账号设置"><?php echo $conf['admin_user'] ?></a>
					</li>
					<li class="layui-nav-item"><a href="./login.php?logout">退出</a></li>
				</ul>
			</div>
			<div class="main-layout-body">
				<div class="layui-tab layui-tab-brief main-layout-tab" lay-filter="tab" lay-allowClose="true">
					<ul class="layui-tab-title">
						<li class="layui-this welcome">后台主页</li>
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show" style="background: #f5f5f5;">
							<iframe src="welcome.php" width="100%" height="100%" name="iframe" scrolling="auto" class="iframe" framborder="0"></iframe>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="main-mask">

		</div>
	</div>
	<script type="text/javascript">
		var scope = {
			link: './welcome.php'
		}
	</script>
	<script src="../static/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="../static/admin/js/common.js" type="text/javascript" charset="utf-8"></script>
	<script src="../static/admin/js/main.js" type="text/javascript" charset="utf-8"></script>

</body>

</html>